<form id="pagerForm" method="post" action="__SELF__">
	<input type="hidden" name="pageNum" value="{$Think.POST.pageNum|default=1}" />
	<input type="hidden" name="numPerPage" value="{$Think.POST.numPerPage|default=30}" />
	<input type="hidden" name="title" value="{$Think.POST.nickname|default=''}" />
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="__SELF__" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					用户名：<input type="text" name="nickname" value="{$Think.POST.nickname|default=''}" />
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="{:U('add')}" target="dialog" width="550" height="440" rel="Configadd" title="添加配置"><span>添加</span></a></li>
			<li><a class="edit" href="{:U('edit')}?id={sid}" target="dialog" width="550" height="440" rel="Configadd" title="修改配置"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="delete" href="{:U('del')}?id={sid}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="delete" href="{:U('del')}" target="selectedTodo" rel="id" postType="string"  title="确实要删除这些记录吗?" ><span>批量删除</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="id" class="checkboxCtrl"></th>
				<th width="50" align="center">UID</th>
				<th width="200" align="center">昵称</th>
				<th width="60" align="center">状态</th>
				<th width="60" align="center">登陆次数</th>
				<th width="60" align="center">积分</th>
				<th width="150" align="center">注册时间</th>
				<th width="150" align="center">注册IP</th>
				<th width="150" align="center">最后登录</th>
				<th width="150" align="center">最后登录IP</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			<volist name="__list__" id="vo">
			<tr target="sid" rel="{$vo.id}">
				<td><input name="id" value="{$vo.id}" type="checkbox"></td>
				<td>{$vo.uid}</td>
				<td>{$vo.nickname}</td>
				<td>{$vo.status}</td>
				<td>{$vo.login}</td>
				<td>{$vo.score}</td>
				<td>{$vo.reg_time|time_format}</td>
				<td>{$vo.reg_ip|long2ip}</td>
				<td>{$vo.last_login_time|time_format}</td>
				<td>{$vo.last_login_ip|long2ip}</td>
				<td></td>
			</tr>
			</volist>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option <if condition="I('post.numPerPage') eq 30">selected</if> value="30">30</option>
				<option <if condition="I('post.numPerPage') eq 50">selected</if> value="50">50</option>
				<option <if condition="I('post.numPerPage') eq 100 ">selected</if> value="100">100</option>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$__total__}" numPerPage="{$Think.POST.numPerPage|default=30}" pageNumShown="10" currentPage="{$Think.POST.pageNum}"></div>
	</div>
</div>